--- src/video/x11/SDL_x11sym.h-orig 2013-07-16 23:56:46.718523385 -0600
+++ src/video/x11/SDL_x11sym.h  2013-07-16 23:58:27.025186485 -0600
@@ -165,7 +165,8 @@
  */
 #ifdef LONG64
 SDL_X11_MODULE(IO_32BIT)
-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
 #endif
  
